add_custom_target(flash
    COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${target}.elf
)